
<!--{template "wap_header"}-->

 {~ui('loader')->js('@time.lesser')}
 <style>

.detail_cen img{
	max-width:300px;
	height:auto;
}
</style>




<div id="fullbg"></div> 
<div class="content">
	<div class="d3">
	<!-- 图片和标题 ↓ -->
			<div class="section-detailbox">
				<div class="deal-pic">																			 
					<img src="{echo imager($product['imgs'][0], IMG_Normal);}" alt="{$product['name']}" width="100%" />
				</div>
				<section class="title">
					<h1>{$product['name']}</h1>
					<h3>{$product['intro']}</h3>
					<h1>{if $product['begin_date']}
即将到来：<span>{$product['begin_date']}</span>
{elseif $product['limit_time']}
开抢倒计时：<div class="deal_djs" id="remainTime_{$product['id']}"></div>
<script language="javascript">
addTimeLesser($product['id'], $product['limit_time']);
</script>
{else}
剩余时间：{if $product['time_remain'] < 0}<span>0</span>{/if}
<div class="deal_djs" id="remainTime_{$product['id']}"></div>
<script language="javascript">
addTimeLesser($product['id'], $product['time_remain']);
</script>
{/if}				</h1>
				</section>
				<section class="deal-other">
					<ul class="oh-ul">	
																					<!-- <li class="oh-in"><span class="ok"></span>支持七天退</li>
																						<li class="oh-pass"><span></span>不支持过期退</li> -->

																			<li class="oh-num"><span></span>{$product['sells_count']}人已买</li>
													<!-- <li class="oh-time" ><span></span><div id="last_time">
													</div></li> -->
													
											</ul>
					
				</section>
			</div>
	<!--  图片和标题 ↑ -->
	
	<!-- 分店信息 ↓ -->
						<div class="section-detailbox">
				<section class="title">
					<h2>商家信息</h2>
				</section>
				<section class="title deal-phone">
					<p style="font-weight: bold;" >{$product['sellername']}</p>
					<p>{$product['selleraddress']}</p>
					<p>电话:{$product['sellerphone']}</p>
					<a href="tel:{$product['sellerphone']}" class="icon"><i></i></a>				
								</section>
											</div>
	<!-- 分店信息 ↑ -->
	<!-- 本单详情 ↓ -->
			<div class="section-detailbox">
				<section class="title">
					<h2>本单详情</h2>
				</section>
				<section class="title">
					<div class="detail_cen" style="padding:0;">
				{$product['content']}
				</div>
				</section>
				
			</div>
	<!-- 本单详情 ↑ -->
 {~ui('loader')->js('@jquery.lazyload')}
<script type="text/javascript">
$(".detail_cen img").lazyload({effect:'fadeIn',skip_invisible:false});
</script>
	
<!-- 评价↓ -->
<!--{eval logic('comment')->show_summary($product['id'])}-->
			<!-- 评价↑ -->


<div id='flow_buybox' class="section-buybox" style="position: fixed;width:100%;z-index:10004;left:0px;bottom:0px;-webkit-user-select: none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-transform:translate3d(0,0,0);margin:15px 0px 0px;">
				<!-- <div id="show_pos">1</div> -->
				<div class="deal-buyatt">
					<p class="price">{if $product['preprice']}{$product['pretext']}:<b>&yen;{$product['nowprice']}</b> 车价:&yen;{$product['preprice']}{else}<b>&yen;{$product['nowprice']}</b> <del>&yen;{$product['price']}</del>{/if}</p>
				</div>
				
																														{if $product['time_remain'] < 0}
<div class="deal-buybtn deal-nobuy"><a title="已结束">已结束</a></div>

{else}	
{if $product['surplus']>0}
<div class="deal-buybtn" style="margin-right:20px">{if $product['type'] == 'prize'}<a href="?mod=buy&code=checkout&id={$product['id']}">参与抽奖</a>{else}<a href="?mod=buy&code=checkout&id={$product['id']}">立即购买</a>{/if}</div>
{else}
<div class="deal-buybtn deal-nobuy"><a title="卖光了">卖光了</a></div>
{/if} 
{/if}
																									</div>
       


<!--{template "wap_footer"}-->
<div style="height:60px;"></div>



</body>
</html>
